package me.idashu.attg.persistence;

import java.util.Date;
import java.util.List;
import java.util.Map;

import me.idashu.attg.domain.MemberEntity;

public interface MemberMapper {

	public void insertCode(MemberEntity memberEntity);

	public MemberEntity selectMember(int id);

	public MemberEntity loginMember(MemberEntity memberEntity);

	public void deleteMember(int id);

	public void updateMember(MemberEntity memberEntity);
	
	public MemberEntity getMember(MemberEntity memberEntity);
	
	public void updateCode(MemberEntity entity);
	
	public List<MemberEntity> getMemberEntityByPage(Map<String, Object> map);
	
	public int getCountMemberEntityByPage(MemberEntity memberEntity);
	
	public int insertMemberEntity(MemberEntity memberEntity);
	
	public MemberEntity getMemberEntityByName(String memberName);
	
	public void modifyMember(MemberEntity memberEntity);
	
	public void modifyAvater(MemberEntity memberEntity);
	
	public List<MemberEntity> getSearchMember(MemberEntity memberEntity);
}
